package com.cp.helper.dao.impl;

import com.cp.helper.bean.Project;
import com.cp.helper.dao.BaseDaoSupport;
import org.springframework.stereotype.Repository;

/**
 * @描述:自动生成的Project
 * @Author : chenpeng
 * @Date : 2015-10-22 20:58:13
 */
@Repository
public class ProjectDao extends BaseDaoSupport<Project> {
    public ProjectDao() {
        super.setClassName("Project");
    }

    //根据主键更新特定值
    public Integer updateOwnerIdById(Project project) {
        return this.getSqlMapClientTemplate().update("Project.updateOwnerIdById", project);
    }

    public Integer updateProjectNameById(Project project) {
        return this.getSqlMapClientTemplate().update("Project.updateProjectNameById", project);
    }

    public Integer updateCreateDateById(Project project) {
        return this.getSqlMapClientTemplate().update("Project.updateCreateDateById", project);
    }

    public Integer updateStatusFlagById(Project project) {
        return this.getSqlMapClientTemplate().update("Project.updateStatusFlagById", project);
    }

    public Integer updateRemindFlagById(Project project) {
        return this.getSqlMapClientTemplate().update("Project.updateRemindFlagById", project);
    }

    public Integer updateRemindDateById(Project project) {
        return this.getSqlMapClientTemplate().update("Project.updateRemindDateById", project);
    }


}
